#include<stdio.h>
#include<conio.h>
void main()
{
	int num[4], i, a, s = 0;

	clrscr();

	printf("\n\n\t\tEnter any 5 nos.: ");

	for(i = 0; i <= 3; i++)
	{
		scanf("%d", &num[i]);
	}

	printf("\n\n\t\tEnter to be searched no.: ");
	scanf("%d", &a);

	for(i = 0; i <= 3; i++)
	{
		if(a == num[i])
		{
			s++;
		}
	}

	printf("\n\n\t\tSearched no. %d is found %d times", a, s);

	getch();
}